package cn.lycode.system.mapper;

import cn.lycode.common.core.domain.model.ConditionDTO;
import cn.lycode.system.domain.entity.SysDictType;

import java.util.List;

/**
 * @Title: SysDictMapper
 * @Author lyg
 * @Date 2024/7/22 18:50
 * @description:
 */
public interface SysDictTypeMapper {

    List<SysDictType> list(ConditionDTO dto);

    int insertDictType(SysDictType sysDictType);

    SysDictType selectSysDictTypeById(Long id);

    int updateDictType(SysDictType sysDictType);

    int removeByIdList(List<Long> ids);

    int lockDictTypeByIdList(List<Long> ids);

    int countDictTypeById(Long sysDictTypeId);
}
